.richText p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin: 15px 0;
}

.richText ul {
    display: block;
    list-style: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 15px;
}

.richText li {
    display: list-item;
    text-align: -webkit-match-parent;
    list-style: unset;
}

.richText ol {
    display: block;
    list-style: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 15px;
}

.richText h1 {
    margin: 20px 0;
}

.richText h2 {
    margin: 20px 0;
}

.richText h3 {
    margin: 20px 0;
}

.richText h4 {
    margin: 20px 0;
}

.richText h5 {
    margin: 20px 0;
}

.richText blockquote {
    background-color: #f5f2f0;
    border-left: 8px solid #b4d5ff;
    display: block;
    font-size: 100%;
    line-height: 1.5;
    margin: 10px 0;
    padding: 10px;
}

.richText table {
    border-collapse: collapse;
}

.richText table th {
    background-color: #f5f2f0;
    font-weight: 700;
    text-align: center;
    border: 1px #ccc solid;
    line-height: 1.5;
    min-width: 30px;
    padding: 3px 5px;
    border-right-width: 3px;
    cursor: auto;
}

.richText table td {
    border: 1px solid #ccc;
    line-height: 1.5;
    min-width: 30px;
    padding: 3px 5px;
    text-align: left;
}

.richText hr {
    border-radius: 3px;
    margin: 40px auto;
}

/*因为输入比输出要宽一些，防止图片溢出，设置最大宽度*/
.richText img {
    max-width: 100%;
}

.richText code {
    /* font-family: monospace; */
    background-color: #eee;
    padding: 3px;
    border-radius: 3px;
}

.richText pre>code {
    display: block;
    padding: 10px;
}